@use "../mixins/namespace" as *;

// 自定义 ElementPlus 亮色主题
@forward "element-plus/theme-chalk/src/common/var.scss" with (
  $colors: (
    "white": #ffffff,
    "black": #000000,
    "primary": (
      "base": #395ae3,
    ),
    "success": (
      "base": #0b9e40,
    ),
    "warning": (
      "base": #e68a00,
    ),
    "danger": (
      "base": #d93126,
    ),
    "error": (
      "base": #dd5c27,
    ),
    "info": (
      "base": #909399,
    ),
  ),
  $messagebox: (
    "border-radius": "10px",
  )
);

@use "element-plus/theme-chalk/src/index.scss" as *;

:root {
  --#{$el-namespace}-text-color-primary: var(--#{$admin-namespace}-text-gray-800) !important;
  --#{$el-namespace}-text-color-regular: var(--#{$admin-namespace}-text-gray-700) !important;
  --#{$el-namespace}-text-color-secondary: var(--#{$admin-namespace}-text-gray-600) !important;
  --#{$el-namespace}-text-color-placeholder: var(--#{$admin-namespace}-text-gray-500) !important;
  --#{$el-namespace}-text-color-disabled: var(--#{$admin-namespace}-text-gray-400) !important;
  --#{$el-namespace}-bg-color: var(--#{$admin-namespace}-bg-color) !important;
}
